/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controllers.process;

import controllers.entity.Admin;
import java.util.List;
import models.AdminDAO;

/**
 *
 * @author HoaDuyen
 */
public class AdminProcess {
    public static List<Admin> getAllAdmin() {
        return AdminDAO.getAllAdmin();
    }
    public static boolean updateAdmin(Admin X,String name){
        return AdminDAO.UpdateAdmin(X,name);
    }
}
